#include "mythread.h"

MyThread::MyThread(QWidget *parent):QThread(parent)
{

}

void MyThread::run()
{
    for(int i=0;i<10;i++)
    {
        sleep(1);
        emit notify();
    }
}
